package com.itheima.service;

import com.itheima.common.CompanyResult;
import com.itheima.common.Result;
import com.itheima.common.SubjectResult;
import com.itheima.pojo.hm.HmSubjectsDirectorys;

import java.util.List;

public interface DirectorysService {
    CompanyResult updateById(HmSubjectsDirectorys directorys);

    Result findPage(Integer page, Integer pagesize, String directoryName, Integer state, Integer subjectID);

    CompanyResult deleteById(Integer id);

    CompanyResult add(HmSubjectsDirectorys directorys);

    CompanyResult updateByState(Integer id, Integer state);

    HmSubjectsDirectorys findOne(Integer id);

    List<SubjectResult> SimpleDirectory(Integer subjectID);
}
